.class Les/xy$i0;
.super Ljava/lang/Object;
.source "EditMenuItemProvider.java"

# interfaces
.implements Landroid/view/MenuItem$OnMenuItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/xy;->d()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/xy;


# direct methods
.method constructor <init>(Les/xy;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/xy$i0;->a:Les/xy;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onMenuItemClick(Landroid/view/MenuItem;)Z
    .locals 4

    .line 1
    iget-object p1, p0, Les/xy$i0;->a:Les/xy;

    invoke-static {p1}, Les/xy;->c(Les/xy;)Ljava/lang/String;

    move-result-object p1

    const-string v0, "info"

    invoke-static {v0, p1}, Lcom/estrongs/android/statistics/c;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 2
    iget-object p1, p0, Les/xy$i0;->a:Les/xy;

    invoke-static {p1}, Les/xy;->b(Les/xy;)Ljava/util/List;

    move-result-object p1

    .line 3
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    const/4 v1, 0x0

    const/4 v2, 0x1

    if-nez v0, :cond_0

    .line 4
    iget-object p1, p0, Les/xy$i0;->a:Les/xy;

    invoke-static {p1}, Les/xy;->a(Les/xy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object p1

    invoke-virtual {p1}, Landroid/app/Activity;->getBaseContext()Landroid/content/Context;

    move-result-object p1

    const v0, 0x7f1104a3

    invoke-static {p1, v0, v1}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    return v2

    .line 5
    :cond_0
    invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Les/e20;

    if-eqz v0, :cond_3

    .line 6
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 7
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_1

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/estrongs/fs/g;

    .line 8
    check-cast v3, Les/e20;

    .line 9
    iget-object v3, v3, Les/e20;->q:Ljava/util/List;

    invoke-interface {v0, v3}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    goto :goto_0

    .line 10
    :cond_1
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result p1

    if-ne p1, v2, :cond_2

    .line 11
    new-instance p1, Lcom/estrongs/android/ui/dialog/s0;

    iget-object v3, p0, Les/xy$i0;->a:Les/xy;

    invoke-static {v3}, Les/xy;->a(Les/xy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v3

    .line 12
    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/fs/g;

    invoke-direct {p1, v3, v0}, Lcom/estrongs/android/ui/dialog/s0;-><init>(Landroid/app/Activity;Lcom/estrongs/fs/g;)V

    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/s0;->a()V

    goto :goto_1

    .line 13
    :cond_2
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result p1

    if-le p1, v2, :cond_5

    .line 14
    new-instance p1, Lcom/estrongs/android/ui/dialog/a0;

    iget-object v1, p0, Les/xy$i0;->a:Les/xy;

    invoke-static {v1}, Les/xy;->a(Les/xy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v1

    iget-object v3, p0, Les/xy$i0;->a:Les/xy;

    .line 15
    invoke-static {v3}, Les/xy;->c(Les/xy;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {p1, v1, v0, v3}, Lcom/estrongs/android/ui/dialog/a0;-><init>(Landroid/app/Activity;Ljava/util/List;Ljava/lang/String;)V

    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/a0;->a()V

    goto :goto_1

    .line 16
    :cond_3
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    if-ne v0, v2, :cond_4

    .line 17
    new-instance v0, Lcom/estrongs/android/ui/dialog/s0;

    iget-object v3, p0, Les/xy$i0;->a:Les/xy;

    invoke-static {v3}, Les/xy;->a(Les/xy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v3

    .line 18
    invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/estrongs/fs/g;

    invoke-direct {v0, v3, p1}, Lcom/estrongs/android/ui/dialog/s0;-><init>(Landroid/app/Activity;Lcom/estrongs/fs/g;)V

    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/s0;->a()V

    goto :goto_1

    .line 19
    :cond_4
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    if-le v0, v2, :cond_5

    .line 20
    new-instance v0, Lcom/estrongs/android/ui/dialog/a0;

    iget-object v1, p0, Les/xy$i0;->a:Les/xy;

    invoke-static {v1}, Les/xy;->a(Les/xy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v1

    iget-object v3, p0, Les/xy$i0;->a:Les/xy;

    .line 21
    invoke-static {v3}, Les/xy;->c(Les/xy;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v0, v1, p1, v3}, Lcom/estrongs/android/ui/dialog/a0;-><init>(Landroid/app/Activity;Ljava/util/List;Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/a0;->a()V

    :cond_5
    :goto_1
    return v2
.end method
